/**
 * 
 */
package org.metaverse.warehouse.util;

import java.util.Date;

import org.openrdf.model.Resource;
import org.openrdf.model.Statement;
import org.openrdf.model.URI;
import org.openrdf.model.Value;
import org.openrdf.model.ValueFactory;

/**
 * @author vjache
 *
 */
public class SenaryImpl extends AbstractSenary {
	private static final long serialVersionUID = 2638201858081637139L;

	private final ValueFactory _valueFactory;
	/**
	 * @param subject
	 * @param predicate
	 * @param object
	 * @param context
	 * @param user
	 * @param lastAssertTime
	 */
	public SenaryImpl(Resource subject, URI predicate, Value object,
			Resource context, URI user, Date lastAssertTime, ValueFactory aValueFactory) {
		super(subject, predicate, object, context, user, lastAssertTime);
		_valueFactory = aValueFactory;
	}

	public SenaryImpl(
			Statement aStmtToCopy, 
			URI user, 
			Date lastAssertTime,
			ValueFactory aValueFactory) {
		super(aStmtToCopy, user, lastAssertTime);
		_valueFactory = aValueFactory;
	}

	public SenaryImpl(
			Statement aStmtToCopy,
			ValueFactory aValueFactory) {
		super(aStmtToCopy);
		_valueFactory = aValueFactory;
	}

	/* (non-Javadoc)
	 * @see org.metaverse.warehouse.util.AbstractSenary#getValueFactory()
	 */
	@Override
	protected ValueFactory getValueFactory() 
	{return _valueFactory;}

}
